package values.avatar
{
	import values.tech.PlayerTechValue;

	public class AvatarValueFactory
	{
		public static function createAvatarValue(avatarKey:String , party:int , tech:PlayerTechValue = null , params:* = null):IAvatarValue
		{
			var avatarV:AvatarValue = new AvatarValue();
			avatarV.initialize(AvatarTemplateValueList.getByKey(avatarKey) , tech , params);
			avatarV.party = party;
			
			return avatarV;
		}
	}
}